package com.igeekhome.mapper;

import com.igeekhome.pojo.ScanCar;
import com.igeekhome.pojo.ScanCarExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScanCarMapper {
    int countByExample(ScanCarExample example);

    int deleteByExample(ScanCarExample example);

    int deleteByPrimaryKey(Integer carId);

    int insert(ScanCar record);

    int insertSelective(ScanCar record);

    List<ScanCar> selectByExample(ScanCarExample example);

    ScanCar selectByPrimaryKey(Integer carId);

    int updateByExampleSelective(@Param("record") ScanCar record, @Param("example") ScanCarExample example);

    int updateByExample(@Param("record") ScanCar record, @Param("example") ScanCarExample example);

    int updateByPrimaryKeySelective(ScanCar record);

    int updateByPrimaryKey(ScanCar record);

    /**
     * 逻辑删除
     */
    int deleteByidsStr(String idsStr);
}